
/** YY框架拓展 */
export default class YYUtils {

    /** 快捷发送 CustomEvent 事件 */
    static emitCustomEvent(eventID: string, param?: any) {
        const event = new yy.event.CustomEvent();
        event.eventID = eventID;
        if (param != undefined)
            event.param = param;
        yy.event.emit(yy.event.CustomEvent, event);
    }

}
